package org.bonorsoft.modules.education.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.bonorsoft.modules.education.entity.Notice;
import org.bonorsoft.modules.education.vo.NoticeVo;
import org.bonorsoft.modules.education.vo.SendVo;

import java.util.List;

/**
 * @Description: 通知表
 * @Author: WilliamYe
 * @Date:   2021-06-22
 * @Version: V1.0
 */
public interface INoticeService extends IService<Notice> {

    IPage<NoticeVo> paging(Page<Notice> page, QueryWrapper<Notice> queryWrapper);

    IPage<NoticeVo> listPaging(Page<Notice> page, QueryWrapper<Notice> queryWrapper);

    Notice getByAddresseeId(String addresseeId);

    IPage<SendVo> sendPaging(Page<Notice> page, QueryWrapper<Notice> queryWrapper);

    List<SendVo> mobileSendList(String noticeSender);

    List<NoticeVo> mobileDraftList(String noticeSender);

    List<NoticeVo> mobileDeleteList(String noticeSender);
}
